package dk.au.cs.peterbn.spoonprocessing;

import spoon.reflect.declaration.CtExecutable;
import spoon.reflect.declaration.CtType;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 10/10/11
 * Time: 4:10 PM
 * To change this template use File | Settings | File Templates.
 */
public class CtCallSite {
    private final CtType<?> containingType;
    private final CtExecutable containingExecutable;

    public CtCallSite(CtType<?> containingType, CtExecutable containingExecutable) {
        this.containingType = containingType;
        this.containingExecutable = containingExecutable;
    }

    public CtType<?> getContainingType() {
        return containingType;
    }

    public CtExecutable getContainingExecutable() {
        return containingExecutable;
    }
}
